
<%@ page import="org.toonWatch.Item" %>
<html>
    <head>
        <meta name="layout" content="main"/>
            <g:javascript library="prototype" />
            <gui:resources components="dataTable,autoComplete,datePicker"/>
        <title>Product - Advanced Search</title>
    </head>
    <body>
     <div id="contentText">
      <h2><span>Product</span>Advanced Search</h2>
    </div>
        <div id="wrap90">
          <div id="searchbox">
            <g:form action="search">
               <table>
                 <tbody>
                    <tr class="prop">
                       <td valign="top" class="name">Name:</td>
                       <td valign="top" class="value"><input name="name" type="text" value="${name}"/></td>
                    </tr>
                    <tr class="prop">
                       <td valign="top" class="name">Description:</td>
                       <td valign="top" class="value"><input name="description" type="text" value="${description}"/></td>
                    </tr>
                 </tbody>
              </table>
              <g:submitToRemote update="searchresults" value="Search" url="[controller:'item', action:'search']"
                   >
              </g:submitToRemote>
            </g:form>
          </div>
            
          <g:render template="searchResults"/>
        </div>
    </body>
</html>
